
/* Gallery
-------------------------------------------------------------- */

ul.gallery
{
    margin: 0px auto 0px auto;
    padding: 0;
   
}

ul.gallery.small
{
    margin: 20px auto 0px auto;
}

ul.gallery li
{
    display: inline-block;
    padding: 10px;
    margin: 13px 13px;
    font-size: 14px;
    font-weight: bold;
    color: #98abb6;
    text-transform: uppercase;
    border: 1px solid #cccece;
    text-align: center;
    background-color: #f8f8f8;
    position: relative; /* CSS3 */
    -webkit-text-shadow: #ffffff 1px 1px;
    -moz-text-shadow: #ffffff 1px 1px;
    text-shadow: #ffffff 1px 1px;
    -webkit-box-shadow: 0 3px 2px 1px rgba(0, 0, 0, 0.03);
    -moz-box-shadow: 0 3px 2px 1px rgba(0, 0, 0, 0.03);
    box-shadow: 0 3px 2px 1px rgba(0, 0, 0, 0.03);
}

ul.gallery.small li
{
    margin: 7px 5px;
    width: 110px;
    height: 140px;
}

ul.gallery li img
{
    margin: 0;
    display: block;
    width: 100px;
    height: 100px;
}

ul.gallery li .actions
{
    //display: none;
}

ul.gallery li a.view, ul.gallery li a.edit, ul.gallery li a.delete, ul.gallery li a.link
{
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 84px;
    height: 84px;
    display: block;
    position: absolute;
    text-indent: -9999px;
    z-index: 1;
}

ul.gallery.small li a.view, ul.gallery.small li a.edit, ul.gallery.small li a.delete, ul.gallery.small li a.link
{
    width: 45px;
    height: 44px;
}

ul.gallery li a.view
{
    top: 30%;
}

ul.gallery li a.view
{
    background-image: url(../img/icon_round_big_view.png);
    right: 22%;
    z-index: 2;
}

ul.gallery.small li a.view
{
    background-image: url(../img/icon_round_view.png);
    right: 22%;
    z-index: 2;
}

ul.gallery li a.edit:hover, ul.gallery li a.link:hover, ul.gallery li a.view:hover
{
    background-position: 0px -84px;
}

ul.gallery.small li a.edit:hover, ul.gallery.small li a.view:hover
{
    background-position: 0px -44px;
}

ul.gallery li a.delete
{
    background-image: url(img/cross.png);
    width: 33px;
    height: 33px;
    right: -10px;
    top: -10px;
}

ul.gallery.small li a.delete
{
    background-image: url(img/cross.png);
    width: 19px;
    height: 19px;
    right: -5px;
    top: -5px;
}

ul.gallery.small li a.edit
{
    background-image: url(img/file_edit.png);
    width: 19px;
    height: 19px;
    right: -5px;
    top: 20px;
}

ul.gallery.small li a.link
{
    background-image: url(img/link.png);
    width: 19px;
    height: 19px;
    right: -5px;
    top: 45px;
}

ul.gallery.small li span.slb_del
{
    right: -5px;
    top: 30px;
}

ul.gallery li a.delete:hover
{
    background-position: 0px -33px;
}

ul.gallery.small li a.delete:hover
{
    background-position: 0px -19px;
}

ul.gallery li:hover
{
    /* CSS3 */
    -webkit-box-shadow: 0px 3px 2px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 3px 2px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 3px 2px 1px rgba(0, 0, 0, 0.05);
}
h5 {
    display: block;
    font-weight: normal;
    overflow: hidden;
    white-space: nowrap;
    text-transform: none;
    margin-top: 10px;
    margin-bottom: -5px;
    color: #000;
}
.time_upload {
    display: block;
    font-size: 11px;
    font-weight: normal;
    overflow: hidden;
    white-space: nowrap;
    text-transform: none;
    margin-top: 10px;
    color: #000;
}
